<!DOCTYPE html>

<html>
<head>
	<title>Nerv Widgets 3 - events</title>
	<style>
	body{
		padding:0;
		margin:10px;
		font-size: 11px;
	}
	</style>
	
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
	<script src="../../nw3.js" type="text/javascript"></script>
</head>

<body>


<span id="button1" style="padding:4px; border: 1px solid #c0c0c0;">SPAN 1</span>

<span id="button2" style="padding:4px; border: 1px solid #c0c0c0;">SPAN 2</span>

<span class="button3" style="padding:4px; border: 1px solid #c0c0c0;">SPAN 3</span>

<script>
NW3.getElement('span[id=button1]').innerHTML = "Changed 1!";

NW3.getElement('#button2').innerHTML = "Changed 2!";

NW3.getElement('.button3').innerHTML = "Changed 3!";

</script>
</body>
</html>
